
* {
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
}


#gameZone {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#id-canvas {
    
    box-shadow: 0 0 10px grey;
}

header {
    position: absolute;
    width: 100%;
    top: 20px;
    font-size: 50px;
    text-align: center;
}

footer {
    position: absolute;
    width: 100%;
    bottom: 20px;
    font-size: 20px;
    text-align: center;
}

.hidden {
    display: none;
}

/*用户登录信息布局*/
.leftSide {
    position: absolute;
    top: calc((100% - 500px) / 2);
    width: calc((100% - 800px) / 2);
    box-sizing: border-box;
    padding: 0 20px 0 50px;
    font-size: 15px;
}

#userInfo {
    height: 30px;
    line-height: 30px;
    vertical-align: bottom;
    margin-bottom: 60px;
}

#username {
    padding-right: 20px;
    font-size: 30px;
    vertical-align: bottom;
} 

#logout, #login{
    padding: 0px 5px;
    border: solid 1px white;
    background-color: #8bc34a;
    border-radius: 2px;
    color: white;
}

#logout:hover {
    background-color: #73a439;
    cursor: pointer;
}

#login:hover {
    background-color: #73a439;
    cursor: pointer;
}

/*用户得分*/

#time, #time-min {
    margin-bottom: 70px;
}

#score, #score-max, #hero, #score-max-net {
    margin-bottom: 10px;
}

.leftSide span[class~="title"] {
    font-weight: bold;
}

/*定义右栏样式*/
#rightSide {
    position: absolute;
    top: calc((100% - 500px) / 2);
    right: 0;
    width: calc((100% - 800px) / 2);
    box-sizing: border-box;
    padding: 0 40px 0 40px;
}

/*定义选关部分样式*/
#selectLevel div {
    display: inline-block;
}

#selectLevel {
    margin-bottom: 50px;
}

/*定义游戏说明部分样式*/
#operationDetail p {
    margin-bottom: 20px;
}

.my-title {
    font-size: 18px;
    font-weight: bold;
}

#operationDetail span {
    margin: 0 10px 0 10px;
}



